//
//  NowCell.m
//  moveSide
//
//  Created by Lenny on 16/4/10.
//  Copyright © 2016年 Lenny. All rights reserved.
//

#import "NowCell.h"

@implementation NowCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.imgView = [[UIImageView alloc] init];
//        _imgView.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_imgView];
        
        self.messageButton = [UIButton buttonWithType:UIButtonTypeCustom];
//        _messageButton.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_messageButton];
    }
    return self;
}

- (void)layoutSubviews
{
    _imgView.frame = CGRectMake(0, 0, self.contentView.bounds.size.width, self.contentView.bounds.size.height);
    _messageButton.frame = CGRectMake(self.contentView.bounds.size.width - 50, 0, 30, 30);
}

- (void)setDic:(NSDictionary *)dic {
    
    _dic = dic;
//    NSLog(@"sfsfsf");
}

@end
